class misc:

  def __init__(self,filename):
    self.build(filename)
    self.filetype = unicode("unkown")

  def build(self,filename):
    self.filetype = unicode(filename.split(".")[-1])
    self.filename = filename

  def to_db(self):
    print "to_db not implemented yet"

  def __str__(self):
   return str(self.filetype) + ":" + str(self.filename)
